package com.blog.personalblog.service;

import com.blog.personalblog.entity.User;

import java.util.List;

public interface UserService {
    List<User> findAll();
    void createUser(User user);
    void updateUser(User user);
    void deleteUser(int id);
    User findByUserId(Integer userId);
}
